#pragma once

#include "List.h"
#include "clkMath.h"
#include "gQuadrant.h"
#include "gEnergy.h"

#define GALX_RAD 1024.0f
#define QUAD_MIN 64.0
#define QUAD_MAX 256.0f
#define QUAD_AMT 10

struct gData
{
	float m_galxRad;

	int   m_quadId;
	int   m_quadAmt;
	List<float> m_quadRad;
	List<V2DF>  m_quadPos;
	List<gQuadrant*> m_quads;

	gEnergy m_playerEnr;
	V3DF    m_playerPos;
	V3DF    m_playerDir;
	float   m_playerRot;
	float   m_playerRad;

	gData(){}
	~gData(){}

	void init();
	void release();

	void genValidPos();
};